package com.ruoyi.system.domain;

import java.util.Date;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 轮播图信息对象 sys_app_banner
 * 
 * @author ruoyi
 * @date 2020-08-13
 */
public class SysAppBanner extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 标题 */
    @Excel(name = "标题")
    private String imgTitle;

    /** 图片访问地址 */
    @Excel(name = "图片访问地址")
    private String imgUrl;

    /** 图片链接地址 */
    @Excel(name = "图片链接地址")
    private String imgLink;

    /** 0：不跳转 1：跳转 */
    @Excel(name = "0：不跳转 1：跳转")
    private Integer skipType;

    /** 是否启用 0：未启用 1：启用 */
    @Excel(name = "是否启用 0：未启用 1：启用")
    private Integer isEnable;

    /** 排序 */
    @Excel(name = "排序")
    private Integer num;

    /** 创建时间 */
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creatTime;

    /** 类型：1 首页  */
    @Excel(name = "类型：1 首页 ")
    private Integer type;

    /** 图片描述 */
    @Excel(name = "图片描述")
    private String describeinfo;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setImgTitle(String imgTitle) 
    {
        this.imgTitle = imgTitle;
    }

    public String getImgTitle() 
    {
        return imgTitle;
    }
    public void setImgUrl(String imgUrl) 
    {
        this.imgUrl = imgUrl;
    }

    public String getImgUrl() 
    {
        return imgUrl;
    }
    public void setImgLink(String imgLink) 
    {
        this.imgLink = imgLink;
    }

    public String getImgLink() 
    {
        return imgLink;
    }
    public void setSkipType(Integer skipType) 
    {
        this.skipType = skipType;
    }

    public Integer getSkipType() 
    {
        return skipType;
    }
    public void setIsEnable(Integer isEnable) 
    {
        this.isEnable = isEnable;
    }

    public Integer getIsEnable() 
    {
        return isEnable;
    }
    public void setNum(Integer num) 
    {
        this.num = num;
    }

    public Integer getNum() 
    {
        return num;
    }
    public void setCreatTime(Date creatTime) 
    {
        this.creatTime = creatTime;
    }

    public Date getCreatTime() 
    {
        return creatTime;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }
    public void setDescribeinfo(String describeinfo) 
    {
        this.describeinfo = describeinfo;
    }

    public String getDescribeinfo() 
    {
        return describeinfo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("imgTitle", getImgTitle())
            .append("imgUrl", getImgUrl())
            .append("imgLink", getImgLink())
            .append("skipType", getSkipType())
            .append("isEnable", getIsEnable())
            .append("num", getNum())
            .append("creatTime", getCreatTime())
            .append("type", getType())
            .append("describeinfo", getDescribeinfo())
            .toString();
    }
}
